Skip to content

feat: bootstrap evolution GitHub labels during cron registration (Closes #468)#469

Merged
Lexus2016 merged 1 commit into
mainfrom
evolution/issue-468-label-bootstrap
Jun 22, 2026
Merged

feat: bootstrap evolution GitHub labels during cron registration (Closes #468)#469
Lexus2016 merged 1 commit into
mainfrom
evolution/issue-468-label-bootstrap

Conversation

@Lexus2016

Copy link
Copy Markdown
Owner

Automated evolution PR for issue #468.

What changed

  • scripts/register_evolution_cron.py now calls _ensure_evolution_labels() once per registration pass.
  • The helper idempotently creates all evolution labels used by the skill pipeline (capability, introspection, ux, proposal, research-generated, needs-work, next-increment, accepted, rejected, needs-split, blocked, fix, improvement, implemented-on-main).
  • Missing labels were causing evolution cron jobs to silently fail label operations (could not add label: ... not found).
  • Failures are surfaced as warnings but do not block registration.
  • Added tests covering dry-run, already-existing, and genuine gh failure paths.

Validation

  • ruff check . passes
  • ruff format --check . passes
  • python -m pytest tests/scripts/test_register_evolution_cron.py -x -q passes (22 tests)

Closes #468

Adds _ensure_evolution_labels() to register_evolution_cron.py so the
labels required by every evolution skill are created idempotently
before jobs are registered. This stops the silent 'could not add
label' failures from evolution-introspection and evolution-issues on
fresh forks.

Includes tests for dry-run, already-existing, and failure paths.

Closes #468

Co-Authored-By: Hermes Evolution <evolution@hermes.ai>
@github-actions

Copy link
Copy Markdown
Contributor

🔎 Lint report: evolution/issue-468-label-bootstrap vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 11567 on HEAD, 11567 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 6087 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@Lexus2016 Lexus2016 merged commit b9e3dd3 into main Jun 22, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[IMPROVEMENT] GitHub Labels Missing for Evolution Cron Jobs — Repeated gh Label Failures

1 participant